package sh;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import sh.pojo.Man;

//启动类
@SpringBootApplication  //是Sprnig Boot项目的核心注解，目的是开启自动配置
@EnableConfigurationProperties(Man.class)//激活所有带ConfigurationProperties的注解（这是将Man的注解）
public class HelloApplication01 {
    public static void main(String[] args) {
        //开启spring应用
        SpringApplication.run(HelloApplication01.class, args);
    }
}
